package com.example.demo.service.Student;

import com.example.demo.entity.Student;

import java.util.List;

public interface StudentService {
    List<Student> queryStudentList();
    List<Student> queryStudentById(int id);
    void addStudent(Student student);
    void deleteStudent(int id);
    void updateStudent(Student student);
    List<Student> queryStudentByName(String name);
    List<Student> queryStudentByMajor(String major);

}
